package com.ssm.mapper;

import com.ssm.pojo.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {

    public void insert(Customer customer);

    public void update(Customer customer);

    public Customer selectByCustomerNO(@Param("customerNO") String customerNO);

    public List<Customer> selectCustomersPage(@Param("customerNO") String NO);

    public Integer countSize(@Param("customerNO") String NO);

    public void deleteByCustomerNO(@Param("customerNO") String NO);

    public Customer selectByNameAndPassword(@Param("customerName") String customerName,@Param("password") String password);
}
